-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: fix --shared-sqlite
builds
#55969
base: main
Are you sure you want to change the base?
Conversation
Review requested:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55969 +/- ##
==========================================
- Coverage 88.00% 87.99% -0.01%
==========================================
Files 653 653
Lines 187872 187872
Branches 35888 35883 -5
==========================================
- Hits 165328 165311 -17
- Misses 15720 15725 +5
- Partials 6824 6836 +12
|
'SQLITE_ENABLE_SESSION', | ||
'SQLITE_ENABLE_PREUPDATE_HOOK' | ||
'conditions': [ | ||
['use_system_sqlite==0', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you introduce this, something would need to toggle the value.
If configured with --shared-sqlite
, this gyp file isn't included anyway (I verified that as part of #55409 (you can remove deps/sqlite
if using --shared-sqlite
and the build still works)) as per
Lines 231 to 233 in 6190bbc
[ 'node_shared_sqlite=="false"', { | |
'dependencies': [ 'deps/sqlite/sqlite.gyp:sqlite' ], | |
}], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum yeah that makes sense. For reference, I'm opening this because I'm getting undefined reference to
sqlite3session_patchset'when working on https://github.com/NixOS/nixpkgs/pull/357699, and Nix is using
--shared-sqlite`
I'm not very familiar with the build system, I tried copying the ZLib config files, but I'm not sure if it all fits together.